<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <link rel="shortcut icon" th:href="@{/resources/favicon.ico}"/>
</head>
<body>
<h1>List</h1>

<table>
    <thead>
    <tr>
        <td>Id</td>
        <td>Title</td>
    </tr>
    </thead>
    <tbody>
    <tr th:each="item : ${items}">
        <td th:text="${item.id}">Id</td>
        <td th:text="${item.title}">Title</td>
    </tr>
    </tbody>
</table>
<p>
    <a href="#" th:href="@{/list/add}">Crear Item</a>
</p>
</body>
</html>